package com.example.web.websystem;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@Slf4j
@SpringBootApplication()
public class WebSystemApplication extends SpringBootServletInitializer {

    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(new Class[]{WebSystemApplication.class});
    }

    public static void main(String[] args) {
        SpringApplication.run(WebSystemApplication.class, args);
        log.info(">>>>>>>>>>>>>>>>> web-system 启动成功 <<<<<<<<<<<<<<<<<<");
    }

}

